import java.util.LinkedList;
import java.util.List;
import java.util.Scanner;

public class Day_36_2_PrePost {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        String str = new String();
        int pos = 0;
        while(scan.hasNext()) {
            List<String> names = new LinkedList<>();
        }
    }
}
